-
Notifications
You must be signed in to change notification settings - Fork 1
feat: 공유하기 모달 구현 #212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 공유하기 모달 구현 #212
The head ref may contain hidden characters: "feature/\uACF5\uC720\uD558\uAE30-\uBAA8\uB2EC-\uAD6C\uD604"
Conversation
| useEffect(() => { | ||
| // 카카오톡 SDK 초기화 | ||
| if (window.Kakao && !window.Kakao.isInitialized()) { | ||
| window.Kakao.init("a4816c8b85267871796431d92ed23451"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
키값을 환경변수로 사용해야 할 것 같습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
추가적으로 환경변수는 api쪽이 아니라 저희 쪽에서도 등록 가능합니다!
src/components/button/UrlCopyBar.tsx
Outdated
| @@ -0,0 +1,14 @@ | |||
| import UrlCopyButton from "./UrlCopyButton"; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
절대경로로 수정 가능할까요?
src/components/modal/ShareModal.tsx
Outdated
| @@ -0,0 +1,66 @@ | |||
| import { useEffect, useState } from "react"; | |||
| import UrlCopyBar from "@/components/button/UrlCopyBar"; | |||
| import KakaoShareButton from "../button/KakaoShareButton"; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
절대경로로 수정 가능할까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이부분 반영이 안된 것 같습니다!
| import { StrictMode } from "react"; | ||
| import { createRoot } from "react-dom/client"; | ||
| import "./index.css"; | ||
| import App from "./App"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이건 왜 제거되었을까요,,?
|
PR 내용이 많이 바뀌어 다시 확인 부탁드립니다! |
| <button onClick={handleShare}> | ||
| <img | ||
| src="/icon/kakaotalk.svg" | ||
| alt="카카오통 공유하기 버튼" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alt이기는 한데 오타 있습니다!
src/components/modal/ShareModal.tsx
Outdated
| @@ -0,0 +1,66 @@ | |||
| import { useEffect, useState } from "react"; | |||
| import UrlCopyBar from "@/components/button/UrlCopyBar"; | |||
| import KakaoShareButton from "../button/KakaoShareButton"; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이부분 반영이 안된 것 같습니다!
|
반영했습니다! |
Pull requests
✅ 작업한 내용
🔢 #178
❗️PR Point
📸 스크린샷
Result.mov
SubHeader.mov